package com.imooc.files.controller;

import com.imooc.api.controller.user.HelloControllerApi;
import com.imooc.grace.result.GraceJSONResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: bie
 * @create: 2021-06-30 08:08
 */
@RestController
@Slf4j
public class HelloController implements HelloControllerApi {

    public Object hello() {
        log.debug("debug");
        log.info("info");
        log.warn("warn");
        log.error("error");
        return GraceJSONResult.ok();
    }

}
